package com.mk.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Illegal implements Serializable {

    /**
     * 罚款缴纳状态 0未处理 1已处理
     */
    public static final Integer UNTREATED = 0;
    public static final Integer ALREADY_TREATED = 1;


    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    //关联的宠物id
    private Long petId;
    //宠物名字
    private String name;
    //违法描述信息
    private String description;
    //罚款
    private Long amerce;
    //状态（0 未处理，1 已处理，默认为0）
    private Integer status;
    //违法登记时间
    private LocalDateTime createTime;
    //修改时间
    private LocalDateTime updateTime;
}
